<?php
/**
 * app端的语言信息
 * Author: lyun
 * Date: 2018/6/1
 * Created by Panxsoft.
 */

use App\Services\Presenters\HmSkinData;

return [
    /**
     * @used-by \App\Http\Controllers\App\DeviceAccountController
     */
    'device_account_error'      => '机器登录账号错误',
    'token_generate_fail'       => '无法生成Token',
    'customer_error'            => '代理客户',
    'store_error'               => '店铺',
    'store_and_customer_status' => '机器账号的商家或者店铺，被禁用了！',
    'store_disabled'            => '机器账号的店铺已被停用！',
    'customer_disabled'         => '机器账号的商家已被停用！',
    'device_account_status'     => '机器账号被停用，无法登录！',
    'device_account_uuid'       => '机器账号已经绑定了，不可非法登录其他机器',
    'invalid_token'             => '无效的账号登录token',
    'password_error'            => '密码错误',

    /**
     * @used-by \App\Http\Controllers\App\ProductController
     */
    'category_error' => '商品类别',
    'product_error'  => '商品',
    'spu_code'       => '商品编码',
    'remark_error'   => '其他',
    'brand_series_other'   => '其他',

    /**
     * @used-by \App\Http\Controllers\App\SkinRecordController
     */
    'skin_detector_type_error' => '没有配置设备账号的肤质检测仪类型！',
    'wechat_user_not_found'    => '微信用户不存在！',

    /**
     * @used-by \App\Http\Controllers\App\WechatUserController
     */
    'wechat_user_error'           => '微信用户',
    'scan_event_error'            => '扫码事件',
    'authorizer_error'            => '公众号',
    'check_can_operate'           => '用户未扫码',
    'custom_value_template_error' => '保存模板消息ID失败, 请确认公众号已开通模板消息！',
    'template_first'              => '顾客::user，正在检测肤质数据',
    'template_keyword1'           => '肤质检测服务',
    'template_keyword2'           => '待处理',
    'template_remark'             => '点击查看顾客肤质数据详情',

    /**
     * @used-by \App\Http\Middleware\AppAuth
     */
    'duplicate_login' => '账号已在其他设备登录，请重新登录',
    'password_modified' => '账号密码已修改，请重新登录',

    'locale_language' => 'zh',    // 中文常量信息，英文是en

    /**
     * @used-by \App\Http\Controllers\App\PackController::assembleOtherPackCategory()
     */
    'other' => '其他',

     /**
      * 微信开放平台相关
      */
    "open_wechat" => [
        /**
         * @used-by \App\Http\Controllers\App\WechatUserController::loginQrCode()
         */
        'authorizer_is_not_type_service' => '公众号类型必须为服务号',
    ],

    /**
     * @used-by \App\Http\Controllers\App\StaffController::store()
     * @used-by \App\Http\Controllers\App\StaffController::update()
     */
    'wechat_user_has_been_bound_store_admin' => '该微信已经绑定过职员，请先在店铺后台解除绑定',

    /**
     * @used-by \App\Http\Controllers\App\WechatUserFavorsController
     */
    'scavenging_state' => '扫码成功',
];
